﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MyNotes.aspx.cs" Inherits="dotnethelloworld.Note.MyNotes" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    </div>
    <asp:ListView ID="ListView1" runat="server" ItemPlaceholderID="layoutTableTemplate">
        <ItemTemplate>
            <span style="font-size: 10pt; color: #993333;">修改时间:</span>
            <asp:Label ID="labType" runat="server" CssClass="val" Text='<%# DataBinder.Eval(Container.DataItem, "UpdateTime") %>'
                ForeColor="#C04000"></asp:Label>
            <span style="font-size: 10pt; color: #993333;">创建时间:</span><asp:Label ID="labTime"
                runat="server" CssClass="val" Text='<%# DataBinder.Eval(Container.DataItem, "CreateTime") %>'
                ForeColor="#C04000"></asp:Label><br />
            <pre runat="server"><%# DataBinder.Eval(Container.DataItem, "Body") %></pre>
        </ItemTemplate>
        <LayoutTemplate>
            <div class="blackborder" style="overflow-y: auto; height: 500px; width: 800px;">
                <table cellpadding="5">
                    <thead style="position: relative;">
                        <tr class="gridheader" style="height: 30px;">
                            <th style="position: relative">
                                创建时间
                            </th>
                            <th style="position: relative">
                                标题
                            </th>
                        </tr>
                    </thead>
                    <tbody id="layoutTableTemplate" runat="server" style="height: 470px; overflow: scroll;">
                    </tbody>
                </table>
            </div>
        </LayoutTemplate>
    </asp:ListView>
    </form>
</body>
</html>
